import App from './App'
import axios from 'axios'; /* 引入axios进行地址访问*/
import store from './vuex/store'
import './router/index'; //引入拦截

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false

App.mpType = 'app'
/*uviewui注册*/
import uView from "uview-ui";
Vue.use(uView)

/*axios全局注册*/
Vue.prototype.$http = axios;

const app = new Vue({
	...App,
	store
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
